package com.huyna.tinhot.model;

import java.util.List;

public class News {
	private String m_strId;
	private String m_strTitle;
	private String m_strLink;
	private String m_strDescription;
	private String m_strDateTime;
	private String m_strAuthor;
	private List<ResourceNews> m_lstResources;
	
	public News(String strId, String strTitle, String strLink,
			String strDescription, String strDateTime, String strAuthor,
			List<ResourceNews> lstResources) {
		super();
		this.setNewId(strId);
		this.setNewTitle(strTitle);
		this.setNewLink(strLink);
		this.setNewDescription(strDescription);
		this.setNewDateTime(strDateTime);
		this.setNewAuthor(strAuthor);
		this.setNewResources(lstResources);
	}

	/*
	 * Get id of new
	 */
	public String getNewId() {
		return m_strId;
	}

	/*
	 * Set id for new
	 */
	public void setNewId(String strId) {
		this.m_strId = strId;
	}

	/*
	 * Get title of new
	 */
	public String getNewTitle() {
		return m_strTitle;
	}

	/*
	 * Set title for new
	 */
	public void setNewTitle(String strTitle) {
		this.m_strTitle = strTitle;
	}

	/*
	 * Get link of new
	 */
	public String getNewLink() {
		return m_strLink;
	}

	/*
	 * Set link for new
	 */
	public void setNewLink(String strLink) {
		this.m_strLink = strLink;
	}

	/*
	 * Get description of new
	 */
	public String getNewDescription() {
		return m_strDescription;
	}

	/*
	 * Set description for new
	 */
	public void setNewDescription(String strDescription) {
		this.m_strDescription = strDescription;
	}

	/*
	 * Get date time of new
	 */
	public String getNewDateTime() {
		return m_strDateTime;
	}

	/*
	 * Set date time for new
	 */
	public void setNewDateTime(String strDateTime) {
		this.m_strDateTime = strDateTime;
	}

	/*
	 * Get author of new
	 */
	private String getNewAuthor() {
		return m_strAuthor;
	}

	/*
	 * Set author for new
	 */
	private void setNewAuthor(String strAuthor) {
		this.m_strAuthor = strAuthor;
	}

	/*
	 * Get list resource of new
	 */
	public List<ResourceNews> getNewResources() {
		return m_lstResources;
	}

	/*
	 * Set list resource for new
	 */
	public void setNewResources(List<ResourceNews> lstResources) {
		this.m_lstResources = lstResources;
	}
	
}
